import request from '@/utils/request'

export function GetMirPath(params) {
  return request({
    url: '/client/'+params+'/path',
    method: 'get',
  })
}

export function AddMirPath(id,params) {
  return request({
    url: '/client/'+id+'/path',
    method: 'post',
    params
  })
}

export function DelMirPath(id,params) {
  return request({
    url: '/client/'+id+'/path',
    method: 'delete',
    params
  })
}

export function LoadMirInfo(id,params) {
  return request({
    url: '/client/'+id,
    method: 'post',
    params
  })
}
export function startm2(id,params) {
  return request({
    url: '/client/'+id+"/start",
    method: 'post',
    params
  })
}

